package com.dyna.demo.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Map;

@Data
@ConfigurationProperties(prefix = "dinger")
public class DingGroupProperties {

    private Map<String , DingGroup> groups;

    @Data
    public static class DingGroup {
        private String tokenId;
        private String secret;
    }

}
